package com.caiyouxi.partner.mapper;

import com.caiyouxi.partner.model.ChannelContractBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

/**
 * Created by Administrator on 2017/10/18.
 */
@Mapper
public interface ChannelContractMapper {

    //查询
    public ChannelContractBean select_channel_contract(int channel_id);
    public List<ChannelContractBean> get_channel_contract_list(ChannelContractBean bean);

    //增加
    public int add_channel_contract(ChannelContractBean bean);

    //修改
    public int update_channel_contract(ChannelContractBean bean);

    //删除
    public int delete_channel_contract(ChannelContractBean bean);

    //获得总条数
    public int get_count(ChannelContractBean bean);

    //查询（channel_id、app_id）
    public ChannelContractBean select_channel_contract_on_map(HashMap<String,Object> map);
}
